package cn.rdq.dao;

import cn.rdq.api.dto.DramaCommentDto;
import cn.rdq.api.po.DramaComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DramaCommentMapper extends BaseMapper<DramaComment> {

    List<DramaCommentDto> listRootComment(Long dramaId);

    List<DramaCommentDto> listByRootCommentId(Long rootParentId);


}
